#pragma once

struct request
{
  int _num1;
  int _num2;
  char _op;

  request(int num1 = 0, int num2 = 0, char op = '+')
    :_num1(num1)
     ,_num2(num2)
     ,_op(op)
  {}
};

struct response
{
  int _code;// 0 正常 1 除以0错误  2 操作符选择错误
  int _result;// 结果

  response(int code = 0, int result = 0)
    :_code(code)
     ,_result(result)
  {}
};
